{include_core file="lib/header.html" title="我的购物车"}
{include_core file="lib/top_nav.html"}

<div id="container" class="inner">
  <div class="crumbs"><a href="{AnUrl()}">首页</a>&nbsp;&nbsp;/&nbsp;&nbsp;<a href="{AnUrl('cart')}">订单结算</a></div>
  {if $cart_list}
  <div class="order-state clearfix">
    <ul class="clearfix">
      <li class="li1 curr"><span class="icon1"><em>购物车</em></span></li>
      <li class="li2"><span class="icon2"><em>订单 </em></span></li>
      <li class="li3"><span class="icon3"><em>完成</em></span></li>
    </ul>
  </div>
  {/if}
  <div class="my-buy-car">
    {if !$cart_list}
    <div class="top clearfix">
      <h2>我的购物车</h2>
      {if $promotion_sub_info}
      <p class="prompt">活动商品满{number_format($promotion_sub_info.limit_price, 2)}元，减{number_format($promotion_sub_info.offer_price, 2)}元<i class="ico">满减</i></p>
      {else}
      {*在线支付全场98免运费*}
      {/if}
    </div>
    <div class="blank-buy-car clearfix">
      <dt><img src="{$smarty.const.STATIC_URL}/images/blank-img1-x2.png" style="width:181px;height:213px" ></dt>
      <dd>
        <p class="text">您的购物车现在还是空的呢</p>
        <div><a href="{AnUrl('index')}" class="btn2 shopping-btn">马上去购物</a></div>
      </dd>
    </div>
    {else}
    <div class="top">
      <h2>我的购物车</h2>
      <!-- <p class="prompt">在线支付全场98免运费</p> -->
    </div>
    <script type="text/javascript">
      s.products="";
    </script>
    {foreach $category_cart_list as $alipay_account=>$tmp_cart_list}
      {include file="lib/category_cart_list_one.html" alipay_account=$alipay_account cart_list=$tmp_cart_list promotion_list=$promotion_list promotion_sub_info=$promotion_sub_info}
    {/foreach}
    {/if}
  </div>
  <!--end my-buy-car-->
  <div class="hot-product js_starGoodsList"></div>
  <!--end hot-product-->
</div>
<div class="black-shade hidden js_sltSkuDivBG" data-type="close"></div>
<div class="float-sel-colors js_sltSkuDiv hidden" style="height:auto; overflow:hidden;"></div>
<!--end container-->
{load_js file="app/cart.js"}
<script>
$(function(){
  $('.back-buy-car').not(':last').remove();
  $('.js_relationUl').parent('.add-moneny').not(':first').remove();
});
</script>

<script language="JavaScript" type="text/javascript"><!--
/* You may give each page an identifying name, server, and channel on
the next lines. */
s.pageName="Nbd:购物流程:我的购物车";
s.server=""
s.channel="Nbd"
s.pageType=""
s.prop1="Nbd:购物流程";
s.prop2="Nbd:购物流程:我的购物车";
s.prop3="Nbd:购物流程:我的购物车";
s.prop4="Nbd:购物流程:我的购物车";
/* Conversion Variables */
s.campaign=""
s.state=""
s.zip=""
s.events="scView";
s.purchaseID=""
s.eVar1=""
s.eVar2=""
s.eVar3=""
s.eVar4=""
s.eVar5=""
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//--></script>
<script language="JavaScript" type="text/javascript"><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//--></script><noscript><img src="http://lenovochina.122.2o7.net/b/ss/lenovo-nbd-prd/1/H.26.2--NS/0"
height="1" width="1" border="0" alt="" /></noscript><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.26.2. -->
{include_core file="lib/footer.html" has_slt_color=1}